package com.b511.swpu.cementbackend.entity;


import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
@Table(name = "CM_WK_MUD_PROPERTY", schema = "WANGBING", catalog = "")
// 对应数据表 CM_WK_MUD_PROPERTY 用于生成报表数据中的 作业水泥浆性能
public class CM_WK_MudProperty {
    @Id
    @GenericGenerator(name="cmWkMudPropertyGenerator", strategy="uuid")
    @GeneratedValue(generator="cmWkMudPropertyGenerator")
    // ID生成策略是否改为UUID -> String
    @Column(name = "CM_WK_MUD_PROPERTY_ID")
    private String CM_WK_MUD_PROPERTY_ID;

    @Basic
    @Column(name = "BA_WELL_ID")
    private String baWellId;

    @Basic
    @Column(name = "WELLNAME")
    private String wellName;

    @Basic
    @Column(name = "CASINGSIZE")
    private String casingSize;

    @Basic
    @Column(name = "EXPREMENT_ITEM")
    private String exprementItem;

    @Basic
    @Column(name = "ITEM_NO")
    private Integer itemNo;

    @Basic
    @Column(name = "MUD_TYPE")
    private String mudType;

    @Basic
    @Column(name = "FLUID_TYPE")
    private String fluidType;

    @Basic
    @Column(name = "CL")
    private String cl;

    @Basic
    @Column(name = "STOP_TEMPERATURE")
    private Double stopTemperature;

    @Basic
    @Column(name = "RECYLE_TEMPERATURE")
    private Double recyleTemperature;

    @Basic
    @Column(name = "HOLE_PRESSURE")
    private Double holePressure;

    @Basic
    @Column(name = "THICKENG_TIME")
    private String thickengTime;

    @Basic
    @Column(name = "MUD_DENSITY")
    private String mudDensity;

    @Basic
    @Column(name = "MUD_YIELD")
    private Double mudYield;

    @Basic
    @Column(name = "WATER_CEMENT_RATIO")
    private Double waterCementRatio;

    @Basic
    @Column(name = "API_FLUID_LOSS")
    private Double apiFluidLoss;

    @Basic
    @Column(name = "FREE_WATER")
    private Double freeWater;

    @Basic
    @Column(name = "PRESSURE24")
    private Double pressure24;

}
